<script>
  function isFoo(value) {
    if<caret>(value === 'foo')
      return true;
    return false;
  }
</script>
